import { reactive, ref } from "vue";

export default function InitHook() {
  const searchForm = reactive<Partial<ExportCenterManagement.SearchForm>>({
    exportName: undefined,
    status: undefined,
    pageNum: 1,
    pageSize: 100,
    total: 0
  });
  const tableData = ref<Array<ExportCenterManagement.ListRows>>([]);
  const tableRef = ref<any>(null);

  return {
    searchForm,
    tableData,
    tableRef
  };
}
